[index]

Script Property

Syntax

set the script of <object> to <scriptText>
Applies to all objects, backgrounds, cards, stacks

Description

The script of an object is the set of event handlers and functions specifically associated with and stored with that object. You use the script property to retrieve or to replace the script of the specified object. The value of the script property is the text string composing the script of the specified object. Script size is limited to 32K.

Notes

Examples

on mouseUp put "Hello, world." end mouseUp In the Message Box, type the following and press Enter: set the script of button "Test" to field "scriptbox"
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.